define("request", ["axios"], (require, exports, module) => {
  const axios = require("axios");
  const baseUrl =
    "https://www.fastmock.site/mock/cba803b6beae76d037e15cd339fdc8f8/dbtz";
  const request = axios.create({
    baseUrl,
    timeout: 3000,
  });

  exports.get = (url, data, ops) => {
    return request.get(baseUrl + url, data, ops);
  };
  exports.post = (url, data, ops) => {
    return request.post(baseUrl + url, data, ops);
  };
  exports.put = (url, data, ops) => {
    return request.put(baseUrl + url, data, ops);
  };
  exports.del = (url, data, ops) => {
    return request.delete(baseUrl + url, data, ops);
  };
});
